package com.project.mall.service;

import com.project.mall.mapper.HjsMapper;
import com.project.mall.pojo.Goods;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class HjsServiceImpl implements HjsService{
    @Resource
    private HjsMapper mapper;

    @Override
    public List<Goods> getAllGoods() {
        return mapper.getAll();
    }

    @Override
    public List<Goods> getAllByGroup() {
        return null;
    }

    @Override
    public int get() {
        return 0;
    }

}
